/**
 * Copyright (c) 2025 EOVA.CN. All rights reserved.
 * Licensed under the LGPL-3.0
 * For authorization, please contact: admin@eova.cn
 */
package cn.eova.meta;

import com.eova.common.utils.web.WebUtil;
import com.eova.core.IndexController;

public class AppController extends IndexController {

    // EovaUI主题风格演示
    public void theme() {
        render("/_view/theme/index.html");
    }

    // EovaUI 组件演示
    public void widget() {
        render("/_view/widget/index.html");
    }

    public void ip() {
        String ip = WebUtil.getRealIp(this.getRequest());
        System.out.println(ip);

        renderText(ip);
    }


}